package edu.ucsc.gameAI;



public class Debug {
	static int debugLevel = 3;  // 0 == nothing, 1 == actions only, 2 == decisions only, 3 == actions and decisions.
	
	public enum MESSAGETYPE{
		ACTION,
		CONDITION,
		STATEMENT
	}
	
	public static void debug(String msg, MESSAGETYPE type){
		if(type == MESSAGETYPE.ACTION || type == MESSAGETYPE.CONDITION || type== MESSAGETYPE.STATEMENT){
			if(debugLevel > 0){
				System.out.println(type + ":::" + msg); // print out 
			}
		}
	}
}
